home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-2.iso / Files II / Prog / M / MacPerl 4.13 source.sit / Perl Source ƒ / MacPerl / MPWindow.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-05-04  |  2.1 KB  |  92 lines  |  [TEXT/MPS ]

  1. /*********************************************************************
  2. Project    :    MacPerl            -    Real Perl Application
  3. File        :    MPWindow.h        -
  4. Author    :    Matthias Neeracher
  5.  
  6. A lot of this code is borrowed from 7Edit written by
  7. Apple Developer Support UK
  8.  
  9. Language    :    MPW C
  10.  
  11. $Log: MPWindow.h,v $
  12. Revision 1.3  1994/05/04  03:18:45  neeri
  13. C++ freaked out at use of name "inline".
  14.  
  15. Revision 1.2  1994/05/04  02:52:40  neeri
  16. Inline Input.
  17.  
  18. Revision 1.1  1994/02/27  23:04:48  neeri
  19. Initial revision
  20.  
  21. Revision 0.4  1993/08/24  00:00:00  neeri
  22. DoContent needs EventRecord *
  23.  
  24. Revision 0.3  1993/08/05  00:00:00  neeri
  25. Show window status
  26.  
  27. Revision 0.2  1993/05/30  00:00:00  neeri
  28. Support Console Windows
  29.  
  30. Revision 0.1  1993/05/29  00:00:00  neeri
  31. Compiles correctly
  32.  
  33. *********************************************************************/
  34.  
  35. #ifndef __MPWINDOW__
  36. #define __MPWINDOW__
  37.  
  38. #include <Memory.h>
  39. #include <Types.h>
  40. #include <QuickDraw.h>
  41. #include <Fonts.h>
  42. #include <ToolUtils.h>
  43. #include <Traps.h>
  44. #include "MPGlobals.h"
  45. #include "MPUtils.h"
  46. #include "MPEditions.h"
  47. #include "MPAppleEvents.h"
  48.  
  49. pascal DPtr DPtrFromWindowPtr(WindowPtr w);
  50.  
  51. pascal void MyGrowWindow(WindowPtr w,
  52.                          Point     p);
  53.  
  54. pascal void DoZoom(WindowPtr w, short c, Point p);
  55.  
  56. pascal void DoContent(WindowPtr theWindow, EventRecord * theEvent);
  57.  
  58. pascal void AdjustScript(DPtr doc);
  59.  
  60. pascal OSErr DoActivate(WindowPtr theWindow, Boolean   activate);
  61.  
  62. pascal void DoUpdate(DPtr theDoc);
  63.  
  64. pascal DPtr NewDocument(Boolean isForOldDoc, WindowKind kind);
  65.  
  66. pascal void CloseMyWindow(WindowPtr aWindow);
  67.  
  68. pascal void ShowSelect(DPtr theDoc);
  69.  
  70. pascal void AdjustScrollbars(DPtr theDoc, Boolean needsResize);
  71.  
  72. pascal void GetWinContentRect(WindowPtr theWindow, Rect *r);
  73.  
  74. pascal void ResizeWindow(DPtr theDoc);
  75.  
  76. pascal void ResizePageSetupForDocument(DPtr theDoc);
  77.  
  78. pascal void InvalidateDocument(DPtr theDoc);
  79.  
  80. pascal void DrawPageExtras(DPtr theDoc);
  81.  
  82. pascal void PrintWindow(DPtr theDoc, Boolean askUser);
  83.  
  84. pascal void ShowWindowStatus();
  85.  
  86. pascal void UseInlineInput(Boolean useInline);
  87.  
  88. pascal void DoShowWindow(WindowPtr win);
  89.  
  90. pascal void DoHideWindow(WindowPtr win);
  91.  
  92. #endif